package com.spj.service.impl;

import com.spj.dao.PermDao;
import com.spj.entity.Perm;
import com.spj.service.PermServiceDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :spj
 * @Date:2022/4/17
 * @description:
 */
@Service
public class PermServiceDaoImpl implements PermServiceDao {
    @Autowired
    PermDao dao;
    @Override
    public List<Perm> findPermsByUserRoleId(int id) {
        return dao.selectPermsByUserRoleId(id);
    }
}
